//
// Created by 62660 on 2022-02-24.
//

#ifndef WEBSERVER_BUFFER_H
#define WEBSERVER_BUFFER_H
#include <iostream>
using namespace std;

class Buffer {
private:
    std::string buf;
public:
    void append(const char* _str, int _size);
    ssize_t size();
    const char* c_str();
    void clear();
};


#endif //WEBSERVER_BUFFER_H
